let/bar=0
const/{ foo }={
  foo: 1,
  fooChange(v) {
    bar = v;
  }
}

button onClick() { foo = bar + 1 }
  -- ${foo}:${bar}
